package com.zbkj.common.request.water;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "RzDeviceSaveRequest对象", description = "设备保存请求对象")
public class RzDeviceSaveRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID, 新增不传，编辑必传")
    private Integer id;

    @ApiModelProperty(value = "绑定店铺id")
    private Integer storeId;

    @ApiModelProperty(value = "设备编号")
    private String code;

    @ApiModelProperty(value = "设备二维码")
    private String qrcode;

    @ApiModelProperty(value = "设备型号")
    private String model;

    @ApiModelProperty(value = "设备图片")
    private String img;

    @ApiModelProperty(value = "是否在线")
    private Boolean isOnline;

    @ApiModelProperty(value = "是否绑定")
    private Boolean isBind;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "供应商电话")
    private String supplierPhone;
}
